<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
test Tomcat

<form action="/tomcat-demo1/demo2" method="post">

    <input name = "username"><input type="submit">
</form>
</body>
</html>